package example6;

public class Silver extends Card{
    public Silver(String name, double balance) {
        super(name, balance);
    }

    @Override
    public void pay(double payment) {
       double p2 = payment*0.85;
       System.out.println(p2);
    }
}
